import * as Sentry from '@sentry/node';
import { loggingTransport } from '@sentry-internal/node-integration-tests';

Sentry.init({
  dsn: 'https://public@dsn.ingest.sentry.io/1337',
  release: '1.0',
  transport: loggingTransport,
  integrations: [Sentry.onUnhandledRejectionIntegration({ mode: 'strict' })],
});

// eslint-disable-next-line @typescript-eslint/no-floating-promises
Promise.reject('test rejection');
